<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \Illuminate\Support\Facades\DB::table('users')->insert([
            'name' => 'admin',
            'username' => 'wangningkai',
            'email' => 'admin@admin.com',
            'password' => Hash::make('123456'),
            'avatar' => 'https://ws3.sinaimg.cn/large/005BYqpgly1fzngsmj6ttj30hq0hqaao.jpg',
            'is_admin' => 1,
            'status' => 1,
        ]);
    }
}
